<style type="text/css">
    #businesses-college-detail, #businesses-college-detail .college-info {
        display: inline-block;
        float: left;
        margin-left: 15px;
    }

    #businesses-college-detail #college-info-wrapper {
        margin: 0 0 1rem 0;
        display: inline-block;
    }

    #businesses-college-detail .college-info div {
        margin: 10px 15px;
        max-width: 19rem;
    }
</style>

<!-- 注意id属性每个页面id必须独立 lay-title为当前页面的标题属性-->
<div class="layui-fluid" id="businesses-college-detail" lay-title="院校信息">
    <div id="college-info-wrapper">
        <div class="college-info">
            <!-- college为后台返回的对象-->
            <div><span class="layui-icon layui-icon-form"></span> 院校：
                [[${college.name}]]
            </div>
            <div><span class="layui-icon layui-icon-note"></span> 简称：
                [[${college.simpleName}]]
            </div>
            <div><span class="layui-icon layui-icon-home"></span> 校址：
                [[${college.address}]]
            </div>

            <div><span class="layui-icon layui-icon-user"></span> 负责人：
                [[${college.principalName}]]
            </div>

            <div><span class="layui-icon layui-icon-phone"></span> 联系方式：
                [[${college.tel}]]
            </div>
            <!-- 使用strings.defaultString 判断是否为空-->
            <div><span class="layui-icon layui-icon-read"></span> 简介：
                [[${#strings.defaultString(college.remark, '暂无简介')}]]
            </div>
        </div>

        <div class="college-info">
            <div><span class="layui-icon layui-icon-user"></span> 创建人：
                [[${college.userName}]]
            </div>
            <div><span class="layui-icon layui-icon-time-circle"></span> 创建时间：
                [[${#strings.defaultString(createDateTime, '未显示时间')}]]
            </div>
            <div><span class="layui-icon layui-icon-user"></span> 更新人：
                [[${college.updateUserName}]]
            </div>
            <div><span class="layui-icon layui-icon-time-circle"></span> 更新时间：
                [[${#strings.defaultString(updateDateTime, '未显示时间')}]]
            </div>
        </div>
    </div>
</div>